Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

304
Vistas
Haproxy cant bind [0.0.0.0:80] - CentOS 6.5

im running on CentOS 6.5 and actually trying to follow this tutorial (http://socketo.me/docs/deploy) on Websocket which says that I need to install Haproxy and run the following linux command :

sudo haproxy -f /etc/haproxy.cfg -p /var/run/haproxy.pid -D

The problem is that I get this message :

[ALERT] 015/013939 (22640) : Starting frontend public: cannot bind socket [0.0.0.0:80]

My "netstat -nat | grep 80 | grep LISTEN" returns :

tcp        0      0 212.227.96.81:80            0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:8880                0.0.0.0:*                   LISTEN
tcp        0      0 2001:8d8:86c:6e00::14:3b:80 :::*                        LISTEN
tcp        0      0 :::8880                     :::*                        LISTEN
tcp        0      0 :::7080                     :::*                        LISTEN

PS : 212.227.96.81 is the IP adress that pings on my domain name. What should I do exactly to resolve this ? Is it apache ? Because I restarted it and nothing. Thank you.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

your web server is listing on port 80

tcp        0      0 212.227.96.81:80            0.0.0.0:*                   LISTEN

you need to change the Apache/webserver port to a different one. you can't bind haproxy and Apache on the same port on the same server

client send request to port 80 ---> HA-PROXY--->send request to apache (port 8080).

asssuming both running on the same server.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda